package com.ztgf.order.models.service;/*
 * @author: chenyu.wang
 * @date: 2020-08-10
 * @description:后台管理系统GMV统计服务
 */

import com.baomidou.mybatisplus.plugins.Page;
import com.ztgf.order.models.bo.OrderGMVStatisticsBO;
import com.ztgf.order.models.bo.OrderShopStatisticsBO;
import com.ztgf.order.models.bo.OrderStatisticsBO;
import com.ztgf.order.models.vo.OrderGMVStatisticsVO;
import com.ztgf.order.models.vo.OrderSalesCategoryNewVO;
import com.ztgf.order.models.vo.OrderSalesCategoryShopVO;
import com.ztgf.order.models.vo.OrderSalesCategoryVO;

public interface IOrderGMVStatisticsService {


    /*
     * @description:GMV各状态订单统计
     * @author: chenyu.wang
     * @date: 2020-08-10
     * @param:
     * @return:
     */
    OrderGMVStatisticsVO queryOrderStateAmount(OrderGMVStatisticsBO bo);

    /**
     * description: 各类目整体销售额统计
     * param: [bo]
     * author: chenyu.wang
     * date: 2020-07-22
     * return: java.util.List<com.ztgf.order.models.vo.OrderSalesCategoryVO>
     */
    Page<OrderSalesCategoryVO> queryOrderSalesCategory(OrderStatisticsBO bo);

    /**
     * description: 各类目店铺销售额统计
     * param: [bo]
     * author: chenyu.wang
     * date: 2020-07-22
     * return: com.baomidou.mybatisplus.plugins.Page<com.ztgf.order.models.vo.OrderSalesCategoryShopVO>
     */
    Page<OrderSalesCategoryShopVO> queryOrderVariousShopItems(OrderShopStatisticsBO bo);

    /**
     * @Description: 新的各类目gmv统计，有订单的类目才显示
     * @Author: chenyu.wang
     * @Params: [bo]
     * @Date: 2020.12.27 22:40
     */
    Page<OrderSalesCategoryNewVO> queryNewGmvOrderCount(OrderStatisticsBO bo);
}
